<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
    <head>
        <title>{{pagetitle}}</title> 
		<meta name="description" content="{{pagedescription}}" />
		<meta name="keywords" content="{{pagekeywords}}" />
		<meta http-equiv="Content-Script-Type" content="text/javascript" />
		<link rel="shortcut icon" href="media/favicon.ico" type="image/ico" />
		<link rel="stylesheet" type="text/css" media="screen" href="default.css" />
 		<link rel="stylesheet" type="text/css" media="screen" href="debug.css" />
		{{scripts}}
		<script type="text/javascript">
		    //<![CDATA[
		    function setfocus() {
			    var f = document.getElementsByTagName('input');
			    if (f.length == 0) {
				    f = document.getElementById('forminfo')
                    if (!f) {
                        f = document.getElementById('wikitxt')
                        if (!f) {
                            f = document.getElementById('submit')
                        }
                    }
				    f.focus();
				    return;
 			    }
		        for (var i = 0; i < f.length; i++) {
		            if (f[i].type != 'hidden') {
		                f[i].focus();
		                return;
		            }
		        }
		    }
		    setTimeout(function() {
		    	note = document.getElementById("notification");
		    	note.style.display = 'none';
		    }, {{notification_delay}});
		    //]]>
		</script>
    </head>
    <body onload="setfocus()">
        {{notification}}
        <div id='__fullsite'>
            <div id='header'>
                <div class='right'>
                    {{mainmenu}}
                </div>
                <span class='title'><a href='?id={{startpage}}'>{{wikititle}}|</a></span>
                <span class='titledesc'>{{titledesc}}</span>
            </div>
            <div id='content'>
                {{body}}
            </div>
        </div>
        {{debugoutput}}

<!--     if ($modal) { -->
<!--         pw_ui_printDialogWrap(); -->
<!--     } -->

    </body>
</html>
